/**
 * Created by kevin on 2017/6/3.
 */

var crypto = require('crypto');


function pwdHash(pwdValue) {
    var md5 = crypto.createHash('md5');

    return md5.update(pwdValue).digest('hex');
}

module.exports = pwdHash;